import request from '@/utils/request.js'
import { useTokenStore } from '@/stores/token.js';
//学生课堂列表查询
export const getAskChapterNumberService = () => {
    // let tokenStore = useTokenStore()
    // const headers = {
    //     token: tokenStore.token.token
    // }
    // const data = {
    //     "classID": classID,
    //     "teacherID": teacherID,
    //     "teacherName": teacherName
    // }
    // return request.post('/teacher/saveTAforteacher', data, { headers });
    return {
        'data': {
            'key': ["入门", "顺序", "循环", "变量"],
            'value': ['234', '435', '234', '541']
        }
    }
}

export const getAskChapterNumberByTimeService = (startTime, endTime) => {
    // let tokenStore = useTokenStore()
    // const headers = {
    //     token: tokenStore.token.token
    // }
    // const data = {
    //     "classID": classID,
    //     "teacherID": teacherID,
    //     "teacherName": teacherName
    // }
    // return request.post('/teacher/saveTAforteacher', data, { headers });
    return {
        'data': {
            'key': ["入门", "顺序", "循环", "变量"],
            'value': ['234', '435', '234', '223']
        }
    }
}

export const getAskTimeNumberByTimeService = (startTime, endTime) => {
    // let tokenStore = useTokenStore()
    // const headers = {
    //     token: tokenStore.token.token
    // }
    // const data = {
    //     "classID": classID,
    //     "teacherID": teacherID,
    //     "teacherName": teacherName
    // }
    // return request.post('/teacher/saveTAforteacher', data, { headers });
    return {
        'data': {
            'key': ["1月", "2月", "3月", "4月"],
            'value': ['234', '242', '234', '223']
        }
    }
}